<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title></title>
		<style>
			.block1 {
				height: 100px;
				background-color: pink;
			}

			.block2 {
				height: 100px;
				background-color: red;
				margin-left: 20px;
				margin-right: 20px;
				position: relative;
				/* margin-top: -20px; */
				top: -20px;
			}

			.block3 {
				height: 100px;
				background-color: blue;
			}
		</style>
	</head>
	<body>
		<div class="block1">block1</div>
		<div class="block2">block2</div>
		<div class="block3">block3</div>
	</body>
</html>
